
<div class="container">
	<div class="module mod-line-top">
		<h2>充值详情</h2>
		<div class="row">
			<div class="form-group col-lg-6">
				<label>游戏账号 </label>
				<input type="text" type="text" class="form-control" value="<?=$bill['account_no']?>" disabled="true">
			</div>
			<div class="form-group col-lg-6">
				<label>游戏名称 </label>
				<input class="form-control" type="text" class="form-control" value="<?=$gamename['l_value']?>" disabled="true">
			</div>
			<div class="form-group col-lg-6">
				<label for="sg_money">汇率: </label>
				<input type="text" type="text" class="form-control" value="<?=$bill['rate']?>" disabled="true">
			</div>
			<div class="form-group col-lg-6">
				<label for="sg_money">状态: </label>
				<span><?=$statuslookup[$bill['status']]?></span>
			</div>
			<div class="form-group col-lg-6">
				<label for="sg_money">充值金额: </label>
				<input type="text" type="text" class="form-control" value="<?=$bill['sg_money']?>" disabled="true">
			</div>
			<div class="form-group col-lg-6">
				<label for="receipt1">银行转账收据: </label>
				<a href="/index.php/bill/download/receipt1/<?=$bill['id']?>" target="downloadframe">下载</a>
			</div>
			
			<?if($bill['status'] == 'C'){?>
			<div class="form-group col-lg-6">
				<label for="cn_money">客服充值金额: </label>
				<input type="text" type="text" class="form-control" value="<?=$bill['cn_money']?>" disabled="true">
			</div>
			<div class="form-group col-lg-6">
				<label for="receipt2">客服转账收据: </label>
				<a href="/index.php/bill/download/receipt2/<?=$bill['id']?>" target="downloadframe">下载</a>
			</div>
			<?}?>
			
			<div class="form-group col-lg-6">
				<label for="sg_money">备注: </label>
				<input type="text" type="text" class="form-control" value="<?=$bill['remark']?>" disabled="true">
			</div>
		</div>
	</div>
</div>

<iframe name="downloadframe" style="display:none"></iframe>

